package com.ccys.db.vo.app.deliveryTimeSlot;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/1/28 0028
 */

@Data
public class GetTimeSlotsV3Vo {


    @JsonProperty("time_slots")
    private List<TimeSlotVo> timeSlots;

    @JsonProperty("express_enable")
    private Boolean expressEnable;

    @Data
    public static class TimeSlotVo{

        @ApiModelProperty("操作的排序")
        private Integer ordering;

        private String id;

        @JsonProperty("start_time")
        private String startTime;

        @JsonProperty("end_time")
        private String endTime;

        @JsonProperty("is_next_day")
        private Boolean isNextDay;

        private String date;
    }
}
